<template>
  <div>
    <el-button type="info" @click="handleLoginOut">退出</el-button>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
@Component({
  name: 'home'
})
export default class extends Vue {
  private handleLoginOut () {
    window.sessionStorage.clear()
    this.$router.push('/login')
  }
}
</script>

<style lang="less" scoped>

</style>
